package com.growthsee.rider.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.growthsee.rider.enumeration.StatusEnum;
import com.growthsee.rider.enumeration.YesNoEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author csy
 * @since 2021-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RiderQuestion对象", description="")
public class RiderQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    @ApiModelProperty(value = "试题名称")
    private String name;
    @ApiModelProperty(value = "题型id")
    private String typeId;
    @ApiModelProperty(value = "所属课程")
    private String courseId;
    @ApiModelProperty(value = "正确答案")
    private String  answer;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    @ApiModelProperty(value = "״")
    private Integer status = StatusEnum.ENABLE.getValue() ;

    @ApiModelProperty(value = "")
    private Integer deleted= YesNoEnum.NO.getValue();


}
